package com.yue.gmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yue.common.utils.PageUtils;
import com.yue.gmall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author ayue
 * @email 389152178@qq.com
 * @date 2020-04-21 09:22:44
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    /**
     * 批量删除
     */
    void removeMenuByIds(List<Long> ids);

    /**
     * 找到catelogId 的完整路径
     * @param catelogId
     * @return
     */
    Long[] findCatelogPath(Long catelogId);
}

